<script setup>
import baseModel from "@/components/baseModel/baseModel.vue";


</script>

<template>
    <baseModel :title="'素材预览'" ref="dialog" :contentWidth="800">
        <template #content>
            <div class="content" :key="videoUrl">
                <video controls muted autoplay ref="videoRef">
                    <source :src="videoUrl" type="video/mp4">
                </video>
            </div>
        </template>
        <template #footer>
            <a-button @click="close">关闭</a-button>
        </template>
    </baseModel>
</template>



<style lang="less" scoped></style>